home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 1.6 / Buddy API Docs.swf / texts / 1316.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  1.6 KB  |  81 lines

  1. 70
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. SetCurrentDir 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baSetCurrentDir sets the current directory.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baSetCurrentDir( Dir )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String. 
  36. --- RECORDSEPARATOR ---
  37. Dir is the full path name of the directory to make current.
  38. --- RECORDSEPARATOR ---
  39.  
  40. --- RECORDSEPARATOR ---
  41. Returns:
  42. --- RECORDSEPARATOR ---
  43.  
  44. --- RECORDSEPARATOR ---
  45. Integer. 
  46. --- RECORDSEPARATOR ---
  47. Returns 1 if successful, else 0.
  48. --- RECORDSEPARATOR ---
  49.  
  50. --- RECORDSEPARATOR ---
  51. Examples:
  52. --- RECORDSEPARATOR ---
  53.  
  54. --- RECORDSEPARATOR ---
  55. Director: 
  56. --- RECORDSEPARATOR ---
  57. set OK = baSetCurrentDir( "c:\temp" ) 
  58. --- RECORDSEPARATOR ---
  59. Authorware: 
  60. --- RECORDSEPARATOR ---
  61. OK := baSetCurrentDir( "c:\\temp" )
  62. --- RECORDSEPARATOR ---
  63.  
  64. --- RECORDSEPARATOR ---
  65. Notes:
  66. --- RECORDSEPARATOR ---
  67.  
  68. --- RECORDSEPARATOR ---
  69. This function is useful when running external programs using the RunProgram 
  70. --- RECORDSEPARATOR ---
  71. function. Some programs, particularly DOS ones, require the current directory to be 
  72. --- RECORDSEPARATOR ---
  73. set first. The current directory can be retrieved using the SysFolder function.
  74. --- RECORDSEPARATOR ---
  75.  
  76. --- RECORDSEPARATOR ---
  77. See also:
  78. --- RECORDSEPARATOR ---
  79.  
  80. --- RECORDSEPARATOR ---
  81. SysFolder